<?php

  /**
  * QuickSkin Extension current_time
  * Print Current Time
  *
  * Usage Example:
  * Template: Time: {current_time:}
  * Result:   Time: 12:46:00
  *
  * @author Philipp v. Criegern philipp@criegern.de
  * CVS ID: $Id: smarttemplate_extension_current_time.php,v 1.2 2006/04/30 19:56:04 endelwar Exp $
  */
  function quickskin_ext_current_time ()
  {
    global $_CONFIG;

    if (empty($_CONFIG['time_format']))
    {
      $_CONFIG['time_format']  =  'H:i:s';
    }
    return date( $_CONFIG['time_format'] );
  }

?>